<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>商品栏目</title>
    <link rel="stylesheet" href="__CONTROL_TPL__/css/index.css">
    <jquery/>
    <script  type="text/javascript">
        $(function(){
            $(document).ready(function(){
                $("#right .art-lisi table tbody tr").removeClass("row_bg");
                $("#right .art-lisi table tbody tr:even").addClass("row_bg");
            })            
        })
    </script>

</head>
<body>
    <div id="admin">                     
        <div id="right">
            
            <div class="M-articless">
                <div class="top_box">
                    <h3>商品类型</h3>
                     <a class="add" href="{|U:'add'}" target="content" title='添加商品类型'></a>
                </div>
                <div class="art-lisi">
                    <!-- <div class="forMsg">操作成功信息</div> -->
                    <table>
                        <thead>
                            <tr>
                                <th style="width:80px">ID</th>
                                <th>商品类型名称</th>                                   
                                <th  style="width:160px">操作</th>
                            </tr>
                        </thead> 

                        <tbody>
                            <list from="$field" name="$f">
                                <tr>
                                    <td>{$f.gt_id}</td>                                   
                                    <td>{$f.gtname}</td>
                                    <td class="caozuo">                                        
                                        <a href="{|U:'GoodsAttr/index',array(gt_id=>$f['gt_id'])}">属性</a>
                                        | 
                                        <a href="{|U:'GoodsType/edit',array(gt_id=>$f['gt_id'])}">编辑</a> 
                                        | 
                                        <a href="{|U:'GoodsType/del',array(gt_id=>$f['gt_id'])}">删除</a>
                                    </td>
                                </tr>
                            </list>
                        </tbody> 

                        <tfoot>
                            <tr>
                                <td colspan="6">
                                    <div class="page">
                                        <a class="pg" title="Previous Page" href="?c=blog&m=pre">« Previous</a>
                                        {$page}
                                        <a class="pg" title="Next" href="?c=blog&m=next">Next »</a>
                                    </div>
                                </td>
                            </tr>
                        </tfoot>  
                    </table>
                </div>
            </div>
        </div>
        
    </div>
</body>
</html>